import { CatalogueConfig } from "./catalogueconfig";
import { StateType } from "./StateType";

export function createstate(): StateType {
    return {
        // cachedependencies: new Map<string, Set<string>>(),
        firstloaded: 0,
        catalogue: [] as CatalogueConfig,
        pageerrors: new Map<string, string>(),
        cachemain: new Map<string, string>(),
        cachetitle: new Map<string, string>(),
        menulist: [] as string[],
        cachetoc: new Map<string, string>(),
        cachestylecssrules: new Map<string, Set<string>>(),
    };
}
